package com.gxa.community.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.community.core.pojo.domain.OperateKillSpell;
import com.gxa.community.core.pojo.dto.SecKillDto;
import com.gxa.community.core.pojo.dto.SeckillQueryDto;
import com.gxa.community.core.pojo.vo.EditkillVo;
import com.gxa.community.core.pojo.vo.SeckillAddVo;
import com.gxa.community.core.utils.R;

import java.util.List;

/**
 * <p>
 * 秒杀信息表 服务类
 * </p>
 *
 * @author XYJ
 * @since 2022-07-18
 */
public interface OperateKillSpellService extends IService<OperateKillSpell> {
    R SelectAllSecKill(Integer type);
    R AddSecKill(SeckillAddVo seckillAddVo, Integer type);
    R delSekill(String id);
    R editSeckill(EditkillVo editkillVo, Integer type);
    R preEditSeckill(String killId);
    R queryText(String name,Integer activeStatus,Integer status,Long startTime,Long endTime,Integer type);
    SeckillQueryDto querykillGoodsOne();
    List<SeckillQueryDto> querykillGoodsList();
    List<SeckillQueryDto> gropuQueryList();
}
